package com.zyy.api.pojo;

import com.zyy.api.constant.LabelType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 *@author zhangyangyang
 *@createTime 2023414 14:37
 *@description 标签规则
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LabelRule {

    /**
     * 关联度阈值
     */
    private double relevanceThreshold;

    /**
     * 标签类型
     */
    private List<LabelType> labelTypes;

    /**
     * 是否只要高亮标签
     */
    private boolean highlight;

    /**
     * 标签权重
     */
    private List<LabelWeight> labelWeights;
}
